using Microsoft.AspNetCore.Mvc;

namespace WorkflowDemo.Controllers
{
    /// <summary>
    /// Home controller
    /// </summary>
    [ApiController]
    [Route("[controller]")]
    public class HomeController : ControllerBase
    {
        /// <summary>
        /// ctor
        /// </summary>
        public HomeController()
        {
        }

        /// <summary>
        /// Health check
        /// </summary>
        [HttpGet("health")]
        public Task<string> Health()
        {
            return Task.FromResult("OK");
        }
    }
}
